package com.bawei.module_home.discovery.viewmodel

import androidx.lifecycle.LiveData
import com.bawei.library_common.mvvm.BaseViewModel
import com.bawei.library_network.newFactory.ApiResponse
import com.bawei.module_home.discovery.entity.DiscoveryEntity
import com.bawei.module_home.discovery.respository.DiscoveryRepository

/**
 * @Author : yaotianxue
 * @Time : On 2023/5/29 19:07
 * @Description : DiscoveryViewModel
 */
class DiscoveryViewModel:BaseViewModel() {
    fun discovery(): LiveData<ApiResponse<DiscoveryEntity>>{
        return DiscoveryRepository().discovery()
    }
}